package com.huangguolin.cloud.api.Class.service;

import com.huangguolin.cloud.api.Class.entity.ApiClassSearchEntity;
import com.huangguolin.cloud.mybatis.entity.PtClassEntity;
import com.huangguolin.cloud.mybatis.entity.PtUserEntity;
import com.huangguolin.cloud.mybatis.flexigrid.PagingEntity;
import com.huangguolin.cloud.mybatis.ztree.TransferEntity;

import java.util.List;

public interface ApiClassService {
    /**
     * 查询班级列表
     * @param entity
     * @param paging
     * @return
     */
    List<PtClassEntity> queryClassList(ApiClassSearchEntity entity, PagingEntity paging);

    /**
     * 总条数
     * @param entity
     * @return
     */
    Integer queryClassTotal(ApiClassSearchEntity entity);

    /**
     * 删除
     * @param classIds
     */
    void deleteClass(String classIds);

    /**
     *
     * @param teacher
     * @param className
     * @param classprofile
     * @param cover
     * @param privacy
     * @param classId
     * @param creatTime
     * @param classNumber
     */
    void addClass(String teacher, String className, String classprofile, String cover, String privacy, String classId, String creatTime, String classNumber);

    List<TransferEntity> query();
}
